

#import <Foundation/Foundation.h>

#define _nsmDateFormatter   ([NSMDateFormatter shareInstance])

@interface NSMDateFormatter : NSDateFormatter

+ (instancetype)shareInstance;

- (NSString *)stringFromTimeInterval:(double)seconds;

- (NSString *)stringFromDate:(NSDate *)date format:(NSString *)dateFormat;

- (NSString *)stringFromTimeInterval:(double)seconds format:(NSString *)dateFormat;

@end
